package com.pk.platform.business.flow.service;

import java.util.List;
import java.util.Map;

import com.pk.platform.business.flow.vo.SubmitDocVO;
import com.pk.platform.domain.BaseBean;
import com.pk.platform.domain.flow.TableFlowRef;

public interface IFlowExecuteService {

	public TableFlowRef queryTableFlowRefById(String tableName);
	
	public void startFlow(BaseBean baseBean);
	
	public String submitDoc(SubmitDocVO sdvo);
	
	public String queryActorName(String actorStr);
	
	public String queryFlowHistory(String tableName, String docId);
	
	public List<Map<String, Object>> queryFlowStatusHistory(String tableName, String docId);
	
	public void delRelativeHistory(String tableName, String docId);
	
	public boolean startIsAuditor(String auditorInfo);
	
	public boolean taskIsAuditor(String tableName, String docId);
	
	public String queryAssignToUser(String auditorInfo);
	
	public String queryTheSameAuditor(String tableName, String docId);
	
	public List<Map<String, Object>> queryDistinctFlowStatusSubmit(String tableName, String docId);
	
}
